package com.emar.adx.yiqifa.java;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by xiaoliang
 * 2016/7/25 13:51
 *
 * @Version 1.0
 */
public class LoggerDemo {
    public static void main(String[] args) {
        TestB b = new TestB();
    }
}

class TestB {
    private static Logger log = LoggerFactory.getLogger(TestB.class);
    public TestB()
    {
        log.debug("TestB-debug");
        log.info("TestB-info");
        log.warn("TestB-warn");
        log.error("TestB-error");
    }
}
